import { IvFlowChart, PrismView } from "@/components"
import { useEffect, useState } from 'react'
import data from './data'
import { Texts } from './text'
function FlowChart() {
  const [a, setA] = useState(1)
  console.log(21);

  useEffect(() => {
    setA(2)
    console.log(a);

  }, [[]])
  return (
    <div style={{ width: '100%', height: '100%' }}>
      <PrismView html={Texts}></PrismView>
      <IvFlowChart mockData={data}></IvFlowChart>
    </div>
  )
}
export default FlowChart